package cn.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@TableName("t_stock")
public class Stock {

    @Id
    @TableId(type= IdType.AUTO)
    private Integer id;

    private Integer skuId;

    private Integer lockStock;

    private Integer stock;
}
